// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
import '@/assets/css/reset.css'

Vue.use(VueAwesomeSwiper);
Vue.config.productionTip = false


//html font-size 适配 
var clwitdh = document.body.clientWidth || document.documentElement.clientWidth;
var htmldom = document.getElementsByTagName('html')[0];
htmldom.style.fontSize = Math.ceil(clwitdh * 0.13) + 'px';


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {
    App
  },
  template: '<App/>'
})
